Description: 一个增强的数据库类CDataSet 因为MFC完全支持数据库应用程序的开发,所以大多数数据库应用都使用CDatabase和CRecordset类,并且类向导(Class Wizard)提供了快速简易的方式来使用这两个类。有一点不足的就是当应用程序涉及到多表数据库时,类向导将产生大量的关于记录集的源码文件使得工程(project)给人的感觉很混乱。 本文介绍如何使用一个模板记录集类来降低类向导所产生的记录集文件的数量,同时增强记录积类(CRecordset)的功能。这个模板记录集类叫做:CDataSet。它的主要目的是降低代码量,为数据对象数组提供一个接口。-an enhanced database category CDataSet because MFC fully support database application development, the majority of database applications used CDatabase and CRecordset class and category Wizard (Class Wizard) provides a fast and easy way to use these two categories. There is one point when the shortage of applications related to multi-table database, the wizard class will have a lot of records set on the source document makes the project (project) gives the impression that very confused. This paper describes how to use a template Records Set to reduce class wizard from the record set in the volume of documentation, while enhancing the plot record category (CRecordset) function. The template called Set Records : CDataSet. Its main purpose is to reduce the amount of code and data objects to p Platform: |
Size: 33792 |
Author:杨葶 |
Hits:
Description: 我自己用MFC和ODBC编的数据库程序,当中利用了CDatabase和CRecordset基类。-I am using MFC and ODBC database program series, which made use of CDatabase and base class CRecordset. Platform: |
Size: 74752 |
Author:yangjunjun |
Hits:
Description: 利用MFC操作MySQL数据库,利用微软的MFC里面的CDatabase和CRecordset两个类再加上MyODBC可以很容易的编出程序-MFC operation using MySQL database, using Microsoft MFC and CDatabase inside CRecordset coupled with two types of MyODBC can be easily prepared and the procedures Platform: |
Size: 2048 |
Author:张友亮 |
Hits:
Description: ODBC是一种使用SQL的程序设计接口,使用ODBC能使用户编写数据库应用程
序变得容易简单,避免了与数据源相连接的复杂性。在Visual C++中,MFC的
ODBC数据库类CDatabase(数据库类)、CRecordSet(记录集类)和
CRecordView(记录视图类)可为用户管理数据库提供了切实可行的解决方案。-ODBC is a kind of using SQL programming interface, using ODBC users can write easy and simple application process sequence avoids the complexity of connected to a data source. In Visual c++, MFC ODBC class CDatabase (database), CRecordSet (recordset class) and CRecordView view class (record) for user management provides a feasible solution.
Platform: |
Size: 285696 |
Author:安静 |
Hits: